From: Marco Trevisan (TreviƱo) Date: Sun, 8 Jul 2018 15:39:45 +0000 (+0200) Subject: keyboard: remove global.screen X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~929^2~5^2~22 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=266b0e9dd0fe9e1e194907088cf2acd4b3d8aebd;p=gnome-shell.git keyboard: remove global.screen This is disabled code for now, but let's have it fixed once we'll use it --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 8b1f02177..71b8f22dc 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -534,7 +534,7 @@ var Keyboard = new Lang.Class({ Main.layoutManager.connect('monitors-changed', this._relayout.bind(this)); //Main.inputMethod.connect('cursor-location-changed', (o, rect) => { // if (this._keyboardVisible) { - // let currentWindow = global.screen.get_display().focus_window; + // let currentWindow = global.display.focus_window; // this.setCursorLocation(currentWindow, rect.get_x(), rect.get_y(), // rect.get_width(), rect.get_height()); // }